home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1990: Discy Business / Discy Business.2mg / DEV.CD / TOOLS / CLIBS / LIBRARIES / CINCLUDE / GSOS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1988-08-01  |  19.4 KB  |  537 lines  |  [B0] Apple IIgs Source Code (0x000A)

  1. /******************************************** 
  2. ; File: GSOS.h 
  3. ; Copyright Apple Computer, Inc.  1988 
  4. ; All Rights Reserved 
  5. ********************************************/ 
  6.  
  7. #ifndef __types__ 
  8. #include <types.h> 
  9. #endif 
  10.  
  11. #ifndef __GSOS__ 
  12. #define __GSOS__ 
  13.  
  14. #define readEnable 0x0001 /*access - read enable bit: CreateRec, OpenRec access and requestAccess fields */
  15. #define writeEnable 0x0002 /*access - write enable bit: CreateRec, OpenRec access and requestAccess fields */
  16. #define backupNeeded 0x0020 /*access - backup needed bit: CreateRec, OpenRec access  field. (Must be 0 in requestAccess field ) */
  17. #define renameEnable 0x0040 /*access - rename enable bit: CreateRec, OpenRec access and requestAccess fields */
  18. #define destroyEnable 0x0080 /*access - read enable  bit: CreateRec, OpenRec access and requestAccess fields */
  19.  
  20. #define startPlus 0x0000 /*base - setMark = displacement */
  21. #define eofMinus 0x0001 /*base - setMark = eof - displacement */
  22. #define markPlus 0x0002 /*base - setMark = mark + displacement */
  23. #define markMinus 0x0003 /*base - setMark = mark - displacement */
  24.  
  25. #define noCache 0x0000 /*cachePriority - do not cache blocks invloved in this read */
  26. #define cache 0x0001 /*cachePriority -  cache blocks invloved in this read if possible */
  27.  
  28. #define badSystemCall 0x0001 /*error - bad system call number */
  29. #define invalidPcount 0x0004 /*error - invalid parameter count */
  30. #define gsosActive 0x07 /*error - GS/OS already active */
  31. #ifndef devNotFound /*error - device not found */
  32. #define devNotFound 0x10 
  33. #endif 
  34. #define invalidDevNum 0x11 /*error - invalid device number */
  35. #define drvrBadReq 0x20 /*error - bad request or command */
  36. #define drvrBadCode 0x0021 /*error - bad control or status code */
  37. #define drvrBadParm 0x0022 /*error - bad call parameter */
  38. #define drvrNotOpen 0x0023 /*error - character device not open */
  39. #define drvrPriorOpen 0x0024 /*error - character device already open */
  40. #define irqTableFull 0x0025 /*error - interrupt table full */
  41. #define drvrNoResrc 0x0026 /*error - resources not available */
  42. #define drvrIOError 0x0027 /*error - I/O error */
  43. #define drvrNoDevice 0x0028 /*error - device not connected */
  44. #define drvrBusy 0x0029 /*error - call aborted, driver is busy */
  45. #define drvrWrtProt 0x002B /*error - device is write protected */
  46. #define drvrBadCount 0x002C /*error - invalid byte count */
  47. #define drvrBadBlock 0x002D /*error - invalid block address */
  48. #define drvrDiskSwitch 0x002E /*error - disk has been switched */
  49. #define drvrOffLine 0x002F /*error - device off line/ no media present */
  50. #define badPathSyntax 0x0040 /*error - invalid pathname syntax */
  51. #define invalidRefNum 0x0043 /*error - invalid reference number */
  52. #ifndef pathNotFound /*error - subdirectory does not exist */
  53. #define pathNotFound 0x44 
  54. #endif 
  55. #define volNotFound 0x0045 /*error - volume not found */
  56. #ifndef fileNotFound /*error - file not found */
  57. #define fileNotFound 0x0046 
  58. #endif 
  59. #define dupPathname 0x0047 /*error - create or rename with existing name */
  60. #define volumeFull 0x0048 /*error - volume full error */
  61. #define volDirFull 0x0049 /*error - volume directory full */
  62. #define badFileFormat 0x004A /*error - version error (incompatible file format) */
  63. #ifndef badStoreType /*error - unsupported (or incorrect) storage type */
  64. #define badStoreType 0x004B 
  65. #endif 
  66. #ifndef eofEncountered /*error - end-of-file encountered */
  67. #define eofEncountered 0x004C 
  68. #endif 
  69. #define outOfRange 0x004D /*error - position out of range */
  70. #define invalidAccess 0x004E /*error - access not allowed */
  71. #define buffTooSmall 0x004F /*error - buffer too small */
  72. #define fileBusy 0x0050 /*error - file is already open */
  73. #define dirError 0x0051 /*error - directory error */
  74. #define unknownVol 0x0052 /*error - unknown volume type */
  75. #ifndef paramRangeErr /*error - parameter out of range */
  76. #define paramRangeErr 0x0053 
  77. #endif 
  78. #define outOfMem 0x0054 /*error - out of memory */
  79. #define dupVolume 0x0057 /*error - duplicate volume name */
  80. #define notBlockDev 0x0058 /*error - not a block device */
  81. #ifndef invalidLevel /*error - specifield level outside legal range */
  82. #define invalidLevel 0x0059 
  83. #endif 
  84. #define damagedBitMap 0x005A /*error - block number too large */
  85. #define badPathNames 0x005B /*error - invalid pathnames for ChangePath */
  86. #define notSystemFile 0x005C /*error - not an executable file */
  87. #define osUnsupported 0x005D /*error - Operating System not supported */
  88. #ifndef stackOverflow /*error - too many applications on stack */
  89. #define stackOverflow 0x005F 
  90. #endif 
  91. #define dataUnavail 0x0060 /*error - Data unavailable */
  92. #define endOfDir 0x0061 /*error - end of directory has been reached */
  93. #define invalidClass 0x0062 /*error - invalid FST call class */
  94. #define resNotFound 0x0063 /*error - file does not contain required resource */
  95.  
  96. #define proDOS 0x0001 /*fileSysID - ProDOS/SOS  */
  97. #define dos33 0x0002 /*fileSysID - DOS 3.3 */
  98. #define dos32 0x0003 /*fileSysID - DOS 3.2 */
  99. #define dos31 0x0003 /*fileSysID - DOS 3.1 */
  100. #define appleIIPascal 0x0004 /*fileSysID - Apple II Pascal */
  101. #define mfs 0x0005 /*fileSysID - Macintosh (flat file system) */
  102. #define hfs 0x0006 /*fileSysID - Macintosh (hierarchical file system) */
  103. #define lisa 0x0007 /*fileSysID - Lisa file system */
  104. #define appleCPM 0x0008 /*fileSysID - Apple CP/M */
  105. #define charFST 0x0009 /*fileSysID - Character FST */
  106. #define msDOS 0x000A /*fileSysID - MS/DOS */
  107. #define highSierra 0x000B /*fileSysID - High Sierra */
  108.  
  109. #define characterFST 0x4000 /*FSTInfo.attributes - character FST */
  110. #define ucFST 0x8000 /*FSTInfo.attributes - SCM should upper case pathnames before passing them to the FST */
  111.  
  112. #define onStack 0x8000 /*QuitRec.flags - place state information about quitting program on the quit return stack */
  113. #define restartable 0x4000 /*QuitRec.flags - the quitting program is capable of being restarted from its dormant memory */
  114.  
  115. #define seedling 0x0001 /*storageType - standard file with seedling structure */
  116. #define sapling 0x0002 /*storageType - standard file with sapling structure */
  117. #define tree 0x0003 /*storageType - standard file with tree structure */
  118. #define pascalRegion 0x0004 /*storageType - UCSD Pascal region on a partitioned disk */
  119. #define extendedFile 0x0005 /*storageType - extended file type (with resource fork) */
  120. #define directoryFile 0x000D /*storageType - volume directory or subdirectory file */
  121.  
  122. #define minorRelNum 0x00FF /*version - minor release number */
  123. #define majorRelNum 0x7F00 /*version - major release number */
  124. #define finalRel 0x8000 /*version - final release */
  125.  
  126. typedef struct GSString255 { 
  127.    Word length; /* Number of Chars in text field  */
  128.    unsigned char text[255]; /*  */
  129.    } GSString255, *GSString255Ptr; 
  130.  
  131. typedef struct GSString32 { 
  132.    Word length; /* Number of characters in text field */
  133.    unsigned char text[32]; /*  */
  134.    } GSString32, *GSString32Ptr; 
  135.  
  136. typedef struct ResultBuf255 { 
  137.    Word bufSize; /*  */
  138.    GSString255 bufString; /*  */
  139.    } ResultBuf255, *ResultBuf255Ptr; 
  140.  
  141. typedef struct ResultBuf32 { 
  142.    Word bufSize; /*  */
  143.    GSString32 bufString; /*  */
  144.    } ResultBuf32, *ResultBuf32Ptr; 
  145.  
  146. typedef struct ChangePathRecGS { 
  147.    Word pCount; /*  */
  148.    GSString255Ptr pathname; /*  */
  149.    GSString255Ptr newPathname; /*  */
  150.    } ChangePathRecGS, *ChangePathRecPtrGS; 
  151.  
  152. typedef struct CreateRecGS { 
  153.    Word pCount; /*  */
  154.    GSString255Ptr pathname; /*  */
  155.    Word access; /*  */
  156.    Word fileType; /*  */
  157.    LongWord auxType; /*  */
  158.    Word storageType; /*  */
  159.    LongWord eof; /*  */
  160.    LongWord resourceEOF; /*  */
  161.    } CreateRecGS, *CreateRecPtrGS; 
  162.  
  163. typedef struct DAccessRecGS { 
  164.    Word pCount; /*  */
  165.    Word devNum; /*  */
  166.    Word code; /*  */
  167.    Pointer list; /*  */
  168.    LongWord requestCount; /*  */
  169.    LongWord transferCount; /*  */
  170.    } DAccessRecGS, *DAccessRecPtrGS; 
  171.  
  172. typedef struct DevNumRecGS { 
  173.    Word pCount; /*  */
  174.    GSString32Ptr devName; /*  */
  175.    Word devNum; /*  */
  176.    } DevNumRecGS, *DevNumRecPtrGS; 
  177.  
  178. typedef struct DInfoRecGS { 
  179.    Word pCount; /*  */
  180.    Word devNum; /*  */
  181.    GSString32Ptr devName; /*  */
  182.    Word characteristics; /*  */
  183.    LongWord totalBlocks; /*  */
  184.    Word slotNum; /*  */
  185.    Word unitNum; /*  */
  186.    Word version; /*  */
  187.    Word deviceID; /*  */
  188.    } DInfoRecGS, *DInfoRecPtrGS; 
  189.  
  190. typedef struct DIORecGS { 
  191.    Word pCount; /*  */
  192.    Word devNum; /*  */
  193.    Pointer buffer; /*  */
  194.    LongWord requestCount; /*  */
  195.    LongWord startingBlock; /*  */
  196.    Word blockSize; /*  */
  197.    LongWord transferCount; /*  */
  198.    } DIORecGS, *DIORecPtrGS; 
  199.  
  200. typedef struct DirEntryRecGS { 
  201.    Word pCount; /*  */
  202.    Word refNum; /*  */
  203.    Word flags; /*  */
  204.    Word base; /*  */
  205.    Word displacement; /*  */
  206.    Pointer name; /*  */
  207.    Word entryNum; /*  */
  208.    Word fileType; /*  */
  209.    Longint eof; /*  */
  210.    LongWord blockCount; /*  */
  211.    TimeRec createDateTime; /*  */
  212.    TimeRec modDateTime; /*  */
  213.    Word access; /*  */
  214.    LongWord auxType; /*  */
  215.    Word fileSysID; /*  */
  216.    ResultBuf255Ptr optionList; /*  */
  217.    } DirEntryRecGS, *DirEntryRecPtrGS; 
  218.  
  219. typedef struct ExpandPathRecGS { 
  220.    Word pCount; /*  */
  221.    GSString255Ptr inputPath; /*  */
  222.    ResultBuf255Ptr outputPath; /*  */
  223.    Word flags; /*  */
  224.    } ExpandPathRecGS, *ExpandPathRecPtrGS; 
  225.  
  226. typedef struct FileInfoRecGS { 
  227.    Word pCount; /*  */
  228.    GSString255Ptr pathname; /*  */
  229.    Word  *access; /*  */
  230.    Word fileType; /*  */
  231.    Longint auxType; /*  */
  232.    Word storageType; /* must be 0 for SetFileInfo */
  233.    TimeRec createDateTime; /*  */
  234.    TimeRec modDateTime; /*  */
  235.    LongWord optionList; /*  */
  236.    LongWord eof; /*  */
  237.    LongWord blocksUsed; /* must be 0 for SetFileInfo */
  238.    LongWord resourceEOF; /* must be 0 for SetFileInfo */
  239.    LongWord resourceBlocks; /* must be 0 for SetFileInfo */
  240.    } FileInfoRecGS, *FileInfoRecPtrGS; 
  241.  
  242. typedef struct FormatRecGS { 
  243.    Word pCount; /*  */
  244.    GSString32Ptr devName; /* device name pointer */
  245.    GSString32Ptr volName; /* volume name pointer */
  246.    Word fileSysID; /* file system ID */
  247.    } FormatRecGS, *FormatRecPtrGS; 
  248.  
  249. typedef struct FSTInfoRecGS { 
  250.    Word pCount; /*  */
  251.    Word fstNum; /*  */
  252.    Word fileSysId; /*  */
  253.    ResultBuf255Ptr fstName; /*  */
  254.    Word version; /*  */
  255.    Word attributes; /*  */
  256.    Word blockSize; /*  */
  257.    LongWord maxVolSize; /*  */
  258.    LongWord maxFileSize; /*  */
  259.    } FSTInfoRecGS, *FSTInfoRecPtrGS; 
  260.  
  261. typedef struct InterruptRecGS { 
  262.    Word pCount; /*  */
  263.    Word intNum; /*  */
  264.    Word vrn; /* used only by BindInt */
  265.    LongWord intCode; /* used only by BindInt */
  266.    } InterruptRecGS, *InterruptRecPtrGS; 
  267.  
  268. typedef struct IORecGS { 
  269.    Word pCount; /*  */
  270.    Word refNum; /*  */
  271.    Pointer dataBuffer; /*  */
  272.    LongWord requestCount; /*  */
  273.    LongWord transferCount; /*  */
  274.    Word cachePriority; /*  */
  275.    } IORecGS, *IORecPtrGS; 
  276.  
  277. typedef struct LevelRecGS { 
  278.    Word pCount; /*  */
  279.    Word level; /*  */
  280.    } LevelRecGS, *LevelRecPtrGS; 
  281.  
  282. typedef struct NameRecGS { 
  283.    Word pCount; /*  */
  284.    GSString255Ptr name; /* full pathname or a filename depending on call */
  285.    } NameRecGS, *NameRecPtrGS; 
  286.  
  287. typedef struct NewlineRecGS { 
  288.    Word pCount; /*  */
  289.    Word refNum; /*  */
  290.    Word enableMask; /*  */
  291.    Word numChars; /*  */
  292.    Pointer newlineTable; /*  */
  293.    } NewlineRecGS, *NewlineRecPtrGS; 
  294.  
  295. typedef struct OpenRecGS { 
  296.    Word pCount; /*  */
  297.    Word refNum; /*  */
  298.    GSString255Ptr pathname; /*  */
  299.    Word requestAccess; /*  */
  300.    Word resourceNumber; /* For extended files: dataFork/resourceFork */
  301.    Word access; /* Value of file's access attribute */
  302.    Word fileType; /* Value of file's fileType attribute */
  303.    Word auxType; /*  */
  304.    Word storageType; /*  */
  305.    TimeRec createDateTime; /*  */
  306.    TimeRec modDateTime; /*  */
  307.    Word  *optionList; /*  */
  308.    LongWord eof; /*  */
  309.    LongWord blocksUsed; /*  */
  310.    LongWord resourceEOF; /*  */
  311.    LongWord resourceBlocks; /*  */
  312.    } OpenRecGS, *OpenRecPtrGS; 
  313.  
  314. typedef struct PositionRecGS { 
  315.    Word pCount; /*  */
  316.    Word refNum; /*  */
  317.    LongWord position; /*  */
  318.    } PositionRecGS, *PositionRecPtrGS; 
  319.  
  320. typedef struct PrefixRecGS { 
  321.    Word pCount; /*  */
  322.    Word prefixNum; /*  */
  323.    GSString255Ptr prefix; /*  */
  324.    } PrefixRecGS, *PrefixRecPtrGS; 
  325.  
  326. typedef struct QuitRecGS { 
  327.    Word pCount; /*  */
  328.    GSString255Ptr pathname; /* pathname of next app to run */
  329.    Word flags; /*  */
  330.    } QuitRecGS, *QuitRecPtrGS; 
  331.  
  332. typedef struct RefNumRecGS { 
  333.    Word pCount; /*  */
  334.    Word refNum; /*  */
  335.    } RefNumRecGS, *RefnumRecPtrGS; 
  336.  
  337. typedef struct SetPositionRecGS { 
  338.    Word pCount; /*  */
  339.    Word refNum; /*  */
  340.    Word base; /*  */
  341.    LongWord displacement; /*  */
  342.    } SetPositionRecGS, *SetPositionRecPtrGS; 
  343.  
  344. typedef struct SysPrefRecGS { 
  345.    Word pCount; /*  */
  346.    Word preferences; /*  */
  347.    } SysPrefRecGS, *SysPrefRecPtrGS; 
  348.  
  349. typedef struct VersionRecGS { 
  350.    Word pCount; /*  */
  351.    Word version; /*  */
  352.    } VersionRecGS, *VersionRecPtrGS; 
  353.  
  354. typedef struct VolumeRecGS { 
  355.    Word pCount; /*  */
  356.    GSString32Ptr devName; /*  */
  357.    ResultBuf255Ptr volName; /*  */
  358.    LongWord totalBlocks; /*  */
  359.    LongWord freeBlocks; /*  */
  360.    Word fileSysID; /*  */
  361.    Word blockSize; /*  */
  362.    } VolumeRecGS, *VolumeRecPtrGS; 
  363.  
  364.  /* make the old prodos calls use the new call method */
  365. #define PDosInt(callnum,pBlockPtr) sysCall(pBlockPtr,callnum) 
  366.  
  367. #define stackEntry 0xE100B0 
  368. extern pascal void sysCall() inline(0x0000,stackEntry); 
  369.  
  370. #define GetSysPrefsGS(pBlockPtr)  SysCall(pBlockPtr,0x200F) 
  371. #define BeginSessionGS(pBlockPtr)  SysCall(pBlockPtr,0x201D) 
  372. #define EndSessionGS(pBlockPtr)  SysCall(pBlockPtr,0x201E) 
  373. #define SessionStatusGS(pBlockPtr)  SysCall(pBlockPtr,0x201F) 
  374. #define ResetCacheGS(pBlockPtr)  SysCall(pBlockPtr,0x2026) 
  375. #define ChangePathGS(pBlockPtr)  SysCall(pBlockPtr,0x2004) 
  376. #define ClearBackupBitGS(pBlockPtr)  SysCall(pBlockPtr,0x200B) 
  377. #define CloseGS(pBlockPtr)  SysCall(pBlockPtr,0x2014) 
  378. #define CreateGS(pBlockPtr)  SysCall(pBlockPtr,0x2001) 
  379. #define DControlGS(pBlockPtr)  SysCall(pBlockPtr,0x202E) 
  380. #define DestroyGS(pBlockPtr)  SysCall(pBlockPtr,0x2002) 
  381. #define DInfoGS(pBlockPtr)  SysCall(pBlockPtr,0x202C) 
  382. #define DReadGS(pBlockPtr)  SysCall(pBlockPtr,0x202F) 
  383. #define DStatusGS(pBlockPtr)  SysCall(pBlockPtr,0x202D) 
  384. #define DWriteGS(pBlockPtr)  SysCall(pBlockPtr,0x2030) 
  385. #define EraseDiskGS(pBlockPtr)  SysCall(pBlockPtr,0x2025) 
  386. #define ExpandPathGS(pBlockPtr)  SysCall(pBlockPtr,0x200E) 
  387. #define FlushGS(pBlockPtr)  SysCall(pBlockPtr,0x2015) 
  388. #define FormatGS(pBlockPtr)  SysCall(pBlockPtr,0x2024) 
  389. #define GetBootVolGS(pBlockPtr)  SysCall(pBlockPtr,0x2028) 
  390. #define GetDevNumberGS(pBlockPtr)  SysCall(pBlockPtr,0x2020) 
  391. #define GetDirEntryGS(pBlockPtr)  SysCall(pBlockPtr,0x201C) 
  392. #define GetEOFGS(pBlockPtr)  SysCall(pBlockPtr,0x2019) 
  393. #define GetFileInfoGS(pBlockPtr)  SysCall(pBlockPtr,0x2006) 
  394. #define GetFSTInfoGS(pBlockPtr)  SysCall(pBlockPtr,0x202B) 
  395. #define GetLevelGS(pBlockPtr)  SysCall(pBlockPtr,0x201B) 
  396. #define GetMarkGS(pBlockPtr)  SysCall(pBlockPtr,0x2017) 
  397. #define GetNameGS(pBlockPtr)  SysCall(pBlockPtr,0x2027) 
  398. #define GetPrefixGS(pBlockPtr)  SysCall(pBlockPtr,0x200A) 
  399. #define GetVersionGS(pBlockPtr)  SysCall(pBlockPtr,0x202A) 
  400. #define NewlineGS(pBlockPtr)  SysCall(pBlockPtr,0x2011) 
  401. #define NullGS(pBlockPtr)  SysCall(pBlockPtr,0x200D) 
  402. #define OpenGS(pBlockPtr)  SysCall(pBlockPtr,0x2010) 
  403. #define QuitGS(pBlockPtr)  SysCall(pBlockPtr,0x2029) 
  404. #define ReadGS(pBlockPtr)  SysCall(pBlockPtr,0x2012) 
  405. #define SetEOFGS(pBlockPtr)  SysCall(pBlockPtr,0x2018) 
  406. #define SetFileInfoGS(pBlockPtr)  SysCall(pBlockPtr,0x2005) 
  407. #define SetLevelGS(pBlockPtr)  SysCall(pBlockPtr,0x201A) 
  408. #define SetMarkGS(pBlockPtr)  SysCall(pBlockPtr,0x2016) 
  409. #define SetPrefixGS(pBlockPtr)  SysCall(pBlockPtr,0x2009) 
  410. #define UnbindIntGS(pBlockPtr)  SysCall(pBlockPtr,0x2032) 
  411. #define VolumeGS(pBlockPtr)  SysCall(pBlockPtr,0x2008) 
  412. #define WriteGS(pBlockPtr)  SysCall(pBlockPtr,0x2013) 
  413. #define BindIntGS(pBlockPtr)  SysCall(pBlockPtr,0x2031) 
  414.  
  415. #ifndef __prodos__ 
  416.  
  417. #define GetSysPrefs      GetSysPrefsGS 
  418. #define BeginSession     BeginSessionGS 
  419. #define EndSession       EndSessionGS 
  420. #define SessionStatus    SessionStatusGS 
  421. #define ResetCache       ResetCacheGS 
  422. #define ChangePath       ChangePathGS 
  423. #define ClearBackupBit   ClearBackupBitGS 
  424. #define Close            CloseGS 
  425. #define Create           CreateGS 
  426. #define DControl         DControlGS 
  427. #define Destroy          DestroyGS 
  428. #define DInfo            DInfoGS 
  429. #define DRead            DReadGS 
  430. #define DStatus          DStatusGS 
  431. #define DWrite           DWriteGS 
  432. #define EraseDisk        EraseDiskGS 
  433. #define ExpandPath       ExpandPathGS 
  434. #define Flush            FlushGS 
  435. #define Format           FormatGS 
  436. #define GetBootVol       GetBootVolGS 
  437. #define GetDevNumber     GetDevNumberGS 
  438. #define GetDirEntry      GetDirEntryGS 
  439. #define GetEOF           GetEOFGS 
  440. #define GetFileInfo      GetFileInfoGS 
  441. #define GetFSTInfo       GetFSTInfoGS 
  442. #define GetLevel         GetLevelGS 
  443. #define GetMark          GetMarkGS 
  444. #define GetName          GetNameGS 
  445. #define GetPrefix        GetPrefixGS 
  446. #define GetVersion       GetVersionGS 
  447. #define Newline          NewlineGS 
  448. #define Null             NullGS 
  449. #define Open             OpenGS 
  450. #define Quit             QuitGS 
  451. #define Read             ReadGS 
  452. #define SetEOF           SetEOFGS 
  453. #define SetFileInfo      SetFileInfoGS 
  454. #define SetLevel         SetLevelGS 
  455. #define SetMark          SetMarkGS 
  456. #define SetPrefix        SetPrefixGS 
  457. #define UnbindInt        UnbindIntGS 
  458. #define Volume           VolumeGS 
  459. #define Write            WriteGS 
  460. #define BindInt          BindIntGS 
  461. #define ChangePath       ChangePathGS 
  462. #define ClearBackupBit   ClearBackupBitGS 
  463. #define Close            CloseGS 
  464. #define Create           CreateGS 
  465. #define DControl         DControlGS 
  466. #define Destroy          DestroyGS 
  467. #define DInfo            DInfoGS 
  468. #define DRead            DReadGS 
  469. #define DStatus          DStatusGS 
  470. #define DWrite           DWriteGS 
  471. #define EraseDisk        EraseDiskGS 
  472. #define ExpandPath       ExpandPathGS 
  473. #define Flush            FlushGS 
  474. #define Format           FormatGS 
  475. #define GetBootVol       GetBootVolGS 
  476. #define GetDevNumber     GetDevNumberGS 
  477. #define GetDirEntry      GetDirEntryGS 
  478. #define GetEOF           GetEOFGS 
  479. #define GetFileInfo      GetFileInfoGS 
  480. #define GetFSTInfo       GetFSTInfoGS 
  481. #define GetLevel         GetLevelGS 
  482. #define GetMark          GetMarkGS 
  483. #define GetName          GetNameGS 
  484. #define GetPrefix        GetPrefixGS 
  485. #define GetVersion       GetVersionGS 
  486. #define Newline          NewlineGS 
  487. #define Null             NullGS 
  488. #define Open             OpenGS 
  489. #define Quit             QuitGS 
  490. #define Read             ReadGS 
  491. #define SetEOF           SetEOFGS 
  492. #define SetFileInfo      SetFileInfoGS 
  493. #define SetLevel         SetLevelGS 
  494. #define SetMark          SetMarkGS 
  495. #define SetPrefix        SetPrefixGS 
  496. #define UnbindInt        UnbindIntGS 
  497. #define Volume           VolumeGS 
  498. #define Write            WriteGS 
  499.  
  500. #define ChangePathRec ChangePathRecGS 
  501. #define CreateRec CreateRecGS 
  502. #define DAccessRec DAccessRecGS 
  503. #define DevNumRec DevNumRecGS 
  504. #define DInfoRec DInfoRecGS 
  505. #define DIORec DIORecGS 
  506. #define DirEntryRec DirEntryRecGS 
  507. #define ExpandPathRec ExpandPathRecGS 
  508. #define FileInfoRec FileInfoRecGS 
  509. #define FormatRec FormatRecGS 
  510. #define FSTInfoRec FSTInfoRecGS 
  511. #define InterruptRec InterruptRecGS 
  512. #define IORec IORecGS 
  513. #define LevelRec LevelRecGS 
  514. #define NameRec NameRecGS 
  515. #define NewlineRec NewlineRecGS 
  516. #define OpenRec OpenRecGS 
  517. #define PositionRec PositionRecGS 
  518. #define PrefixRec PrefixRecGS 
  519. #define QuitRec QuitRecGS 
  520. #define RefNumRec RefNumRecGS 
  521. #define SetPositionRec SetPositionRecGS 
  522. #define SysPrefRec SysPrefRecGS 
  523. #define VersionRec VersionRecGS 
  524. #define VolumeRec VolumeRecGS 
  525. #define DInfoRec DInfoRecGS 
  526. #define FSTInfoRec FSTInfoRecGS 
  527. #define OpenRec OpenRecGS 
  528. #define VersionRec VersionRecGS 
  529.  
  530. #endif 
  531.  
  532. #endif 
  533.  
  534.